<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="NotasCreditoCabeceraViewDlg" widgetVar="NotasCreditoCabeceraViewDialog" modal="true" resizable="false" appendToBody="true" header="#{bundle.ViewNotasCreditoCabeceraTitle}">

            <h:form id="NotasCreditoCabeceraViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{notasCreditoCabeceraController.selected != null}">

                        <h:outputText value="#{bundle.ViewNotasCreditoCabeceraLabel_notasCreditoCabeceraPK_nroFactura}"/>
                        <h:outputText value="#{notasCreditoCabeceraController.selected.notasCreditoCabeceraPK.nroFactura}" title="#{bundle.ViewNotasCreditoCabeceraTitle_notasCreditoCabeceraPK_nroFactura}"/>

                        <h:outputText value="#{bundle.ViewNotasCreditoCabeceraLabel_notasCreditoCabeceraPK_nroNota}"/>
                        <h:outputText value="#{notasCreditoCabeceraController.selected.notasCreditoCabeceraPK.nroNota}" title="#{bundle.ViewNotasCreditoCabeceraTitle_notasCreditoCabeceraPK_nroNota}"/>

                        <h:outputText value="#{bundle.ViewNotasCreditoCabeceraLabel_fecha}"/>
                        <h:outputText value="#{notasCreditoCabeceraController.selected.fecha}" title="#{bundle.ViewNotasCreditoCabeceraTitle_fecha}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>

                        <h:outputText value="#{bundle.ViewNotasCreditoCabeceraLabel_notasCreditoDetalleCollection}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="NotasCreditoCabeceraViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
